%osd_entry {
@extend %entry_common;
@include entry(normal, $c:$osd_fg_color,);
- &:hover { @include entry(hover, $c:$osd_fg_color,);}
- &:focus { @include entry(focus, $c:$osd_fg_color,);}
- &:insensitive { @include entry(insensitive, $c:$osd_fg_color,);}
+ &:hover { @include entry(hover, $c:$osd_fg_color);}
+ &:focus { @include entry(focus, $c:$osd_fg_color);}
+ &:insensitive { @include entry(insensitive, $c:$osd_fg_color);}
StLabel.hint-text {color: transparentize($osd_fg_color, 0.3); }
}
%system_entry {
@extend %entry_common;
@include entry(normal, $c:$system_fg_color,);
- &:hover { @include entry(hover, $c:$system_fg_color,);}
- &:focus { @include entry(focus, $c:$system_fg_color,);}
- &:insensitive { @include entry(insensitive, $c:$system_fg_color,);}
+ &:hover { @include entry(hover, $c:$system_fg_color);}
+ &:focus { @include entry(focus, $c:$system_fg_color, $fc:transparentize($system_fg_color, 0.5));}
+ &:insensitive { @include entry(insensitive, $c:$system_fg_color);}
StLabel.hint-text { color: transparentize($system_fg_color, 0.3);}
}
+
// buttons
%system_button {
@include button(normal, $tc:$system_fg_color, $c:$system_bg_color);
// Text entries
-@mixin entry($t, $c) {
+@mixin entry($t, $c, $fc:$selected_bg_color) {
//
// Entries drawing function
//
}
@if $t==focus {
- background-color: mix(transparentize($c, 0.75), $selected_bg_color, 95%);
- box-shadow: inset 0 0 0 2px transparentize($selected_bg_color, 0.3);
+ background-color: mix(transparentize($c, 0.75), $fc, 95%);
+ box-shadow: inset 0 0 0 2px transparentize($fc, 0.3);
color: $c;
&:hover {}
}